﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Xml;
using SharePointClient;
namespace SharePointLibTest
{
    class Program
    {
        static void Main(string[] args)
        {
            Site hellmig =new Site(new Uri("http://pc-frank"));
           

            
            ListCollection lists = hellmig.Lists;

            View defaultview = lists[5].DefaultView;
            ViewCollection allviews = lists[5].GetAllViews();
            DataTable t=new DataTable();
            lists[5].Fill(t,defaultview);
          //  XmlNode x=lists[5].GetData();
           // lists[5].Upload("C:\\info.xml", "info.xml", new List<Field>());
            SiteCollection s = hellmig.Sites;
            
        }
    }
}
